﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Jarvis.Sensors
{
    class WMPSensor :Sensor
    {
        public override void Sense(Object stateInfo)
        {
            try
            {
                /* WMPLib.WindowsMediaPlayer Player = WindowsMediaPlayer.;
                IWMPMedia media;

                media = Player.currentMedia;
                string test = media.name;

                Console.WriteLine("track = " + test); */
            }
            catch (Exception e)
            {
                Console.WriteLine("Unable to sense track: " + e);
            }
        }
    }
}
